<input type="hidden" id="bindIds" name="bindIds">
<table class="table table-bordered table-hover table-striped table-condensed" data-toggle="tablefixed" data-height="150">
    <thead>
    <tr>
        <th width="20">No.</th>
        <th width="50">别名</th>
        <th width="50">描述</th>
        <th width="50">业务类型</th>
        <th width="50">创建日期</th>
        <th width="50"></th>
    </tr>
    </thead>
    <tbody>
    <#list rows as row>
    <tr>
        <td>${(row_index+1)!}</td>
        <td>${(row.alias)!}</td>
        <td>${(row.note)!}</td>
        <td>${(row.bizTypeName)!}</td>
        <td>${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
        <#--<td><input type="checkbox" name="bindId" data-toggle="icheck" value="${(row.id)!}" onclick="alert(1);"></td>-->
        <td><input type="checkbox" name="bindId"  value="${(row.id)!}" onclick="parseBindIds();"></td>
    </tr>
    </#list>
    </tbody>
</table>
<script>
function parseBindIds()
{
    var bindIds = "";
    $("input:checkbox[name='bindId']:checked").each(function() {
           bindIds += $(this).val() + ",";
    });
    bindIds=bindIds.substring(0,bindIds.length-1);
    $('#bindIds').val(bindIds);
}
</script>

